/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.jh.entity;

import org.hibernate.validator.constraints.Length;

import com.hcht.xrlh.sx.entity.DrSx;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 双随机计划Entity
 * @author lrz
 * @version 2016-12-21
 */
public class DrJh extends DataEntity<DrJh> {
	
	private static final long serialVersionUID = 1L;
	private String sxId;		// 事项ID
	private String jhFdsx;		// 法定事项
	private String jhMc;		// 名称
	private Office officeZd;		// 制定部门
	private Office officeGl;		// 管理部门
	private Long jhXzsl;		// 执法小组数量
	private Long jhMzrs;		// 每组人数
	private String jhDxcqfs;		// 执法对象抽取方式 00：百分比；01：数量
	private Long jhDxcqsl;		// 抽取对象数值
	private Long jhSl;			//预计任务数
	private String jhBz;		// 备注
	private String jhFlag;		// 标志
	
	private DrSx drSx;
	
	private Long done;			//完成率
	
	public Long getDone() {
		return done;
	}

	public void setDone(Long done) {
		this.done = done;
	}

	public DrSx getDrSx() {
		return drSx;
	}

	public void setDrSx(DrSx drSx) {
		this.drSx = drSx;
	}

	public DrJh() {
		super();
	}

	public DrJh(String id){
		super(id);
	}

	@Length(min=0, max=64, message="事项ID长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	@Length(min=0, max=10, message="法定事项长度必须介于 0 和 10 之间")
	public String getJhFdsx() {
		return jhFdsx;
	}

	public void setJhFdsx(String jhFdsx) {
		this.jhFdsx = jhFdsx;
	}
	
	@Length(min=0, max=255, message="名称长度必须介于 0 和 255 之间")
	public String getJhMc() {
		return jhMc;
	}

	public void setJhMc(String jhMc) {
		this.jhMc = jhMc;
	}
	
	public Office getOfficeZd() {
		return officeZd;
	}

	public void setOfficeZd(Office officeZd) {
		this.officeZd = officeZd;
	}
	
	public Office getOfficeGl() {
		return officeGl;
	}

	public void setOfficeGl(Office officeGl) {
		this.officeGl = officeGl;
	}
	
	public Long getJhXzsl() {
		return jhXzsl;
	}

	public void setJhXzsl(Long jhXzsl) {
		this.jhXzsl = jhXzsl;
	}
	
	public Long getJhMzrs() {
		return jhMzrs;
	}

	public void setJhMzrs(Long jhMzrs) {
		this.jhMzrs = jhMzrs;
	}
	
	@Length(min=0, max=2, message="执法对象抽取方式 00：百分比；01：数量长度必须介于 0 和 2 之间")
	public String getJhDxcqfs() {
		return jhDxcqfs;
	}

	public void setJhDxcqfs(String jhDxcqfs) {
		this.jhDxcqfs = jhDxcqfs;
	}
	
	public Long getJhDxcqsl() {
		return jhDxcqsl;
	}

	public void setJhDxcqsl(Long jhDxcqsl) {
		this.jhDxcqsl = jhDxcqsl;
	}
	
	@Length(min=0, max=255, message="备注长度必须介于 0 和 255 之间")
	public String getJhBz() {
		return jhBz;
	}

	public void setJhBz(String jhBz) {
		this.jhBz = jhBz;
	}
	
	@Length(min=0, max=2, message="标志长度必须介于 0 和 2 之间")
	public String getJhFlag() {
		return jhFlag;
	}

	public void setJhFlag(String jhFlag) {
		this.jhFlag = jhFlag;
	}

	public Long getJhSl() {
		return jhSl;
	}

	public void setJhSl(Long jhSl) {
		this.jhSl = jhSl;
	}
	
}